home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / unix / ch20 / 20fig13a.wrl < prev    next >
Text File  |  1996-09-23  |  502b  |  28 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Group {
  6.     children [
  7.         DirectionalLight {
  8.             direction  0.8 -0.2 -0.2
  9.             intensity 1.0
  10.             ambientIntensity 0.3
  11.             color 1.0 0.6 0.0
  12.         },
  13.     # Vaulted ceiling and columns
  14.         Inline {
  15.             url "vaulted.wrl"
  16.             bboxCenter 0.0 1.0 0.0
  17.             bboxSize   6.0 2.0 6.0
  18.         },
  19.     # Floor
  20.         Shape {
  21.             appearance Appearance {
  22.                 material Material { }
  23.             }
  24.             geometry Box { size 16.0 0.01 16.0 }
  25.         }
  26.     ]
  27. }
  28.